
package com.doc2video.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 视频生成DTO
 */
@Data
@ApiModel(value = "视频生成DTO")
public class VideoGenerateDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "文档ID", required = true)
    @NotNull(message = "文档ID不能为空")
    private Long documentId;

    @ApiModelProperty(value = "音色类型", required = true)
    @NotNull(message = "音色类型不能为空")
    private String voiceType;

    @ApiModelProperty(value = "视频标题")
    private String title;

    @ApiModelProperty(value = "视频描述")
    private String description;

    @ApiModelProperty(value = "字幕样式：0-无字幕，1-底部字幕，2-全屏字幕")
    private Integer subtitleStyle;

    @ApiModelProperty(value = "背景音乐：0-无音乐，1-轻柔，2-激昂")
    private Integer backgroundMusic;

    @ApiModelProperty(value = "视频分辨率：720p、1080p、4K")
    private String resolution;

    @ApiModelProperty(value = "视频帧率：24、30、60")
    private Integer fps;
}
